package com.ruoyi.peizhen.service;

import java.util.List;
import com.ruoyi.peizhen.domain.HospitalDepartment;
import com.ruoyi.common.core.domain.Ztree;

/**
 * 科室Service接口
 * 
 * @author ruoyi
 * @date 2022-03-13
 */
public interface IHospitalDepartmentService 
{
    /**
     * 查询科室
     * 
     * @param id 科室主键
     * @return 科室
     */
    public HospitalDepartment selectHospitalDepartmentById(Long id);

    /**
     * 查询科室列表
     * 
     * @param hospitalDepartment 科室
     * @return 科室集合
     */
    public List<HospitalDepartment> selectHospitalDepartmentList(HospitalDepartment hospitalDepartment);

    /**
     * 新增科室
     * 
     * @param hospitalDepartment 科室
     * @return 结果
     */
    public int insertHospitalDepartment(HospitalDepartment hospitalDepartment);

    /**
     * 修改科室
     * 
     * @param hospitalDepartment 科室
     * @return 结果
     */
    public int updateHospitalDepartment(HospitalDepartment hospitalDepartment);

    /**
     * 批量删除科室
     * 
     * @param ids 需要删除的科室主键集合
     * @return 结果
     */
    public int deleteHospitalDepartmentByIds(String ids);

    /**
     * 删除科室信息
     * 
     * @param id 科室主键
     * @return 结果
     */
    public int deleteHospitalDepartmentById(Long id);

    /**
     * 查询科室树列表
     * 
     * @return 所有科室信息
     */
    public List<Ztree> selectHospitalDepartmentTree();
}
